package com.ujn.demo.service;

import org.springframework.web.multipart.MultipartFile;

public interface OperateService {

    String uploadAndDelete(String objectName, String containerName, String token, MultipartFile multipartFile);

    String uploadObjectByStream(String objectName, String containerName, String token, MultipartFile multipartFile);

    String downloadObjectByStream(String containerName, String objectName, String token);

    String getNewToken();

    String getSwiftContainerList(String token);

    String createContainer(String tokenId, String containerName);

    String deleteContainerIfEmpty(String tokenId,String containerName);

    String  getSwiftObjectList(String containerName,String token);

    String deleteObject(String container, String obj, String token);
}
